package org.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.poi.hpsf.Decimal;

/**
 * @TableName d_uniform
 */
@TableName(value ="d_uniform")
@Data
public class DUniform implements Serializable {
    @TableId
    private Integer ufid;

    private Integer sid;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date collectionDate;

    private String clothesSize;

    private Integer clothesNumber;

    private Double clothesPrice;

    private String clothesType;

    private String hatColor;

    private Integer hatNumber;

    private Double hatPrice;

    private Double amount;

    private Integer isDeleted;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date updateDate;

    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private Date createDate;

    @TableField(exist = false)
    private String apartmentId;

    @TableField(exist = false)
    private String empNo;

    @TableField(exist = false)
    private String empName;

    @TableField(exist = false)
    private String deptName;

    private static final long serialVersionUID = 1L;
}